Validate S5’,DLT MAC

Command:

To validate an S5’,DLT Message Authentication Code (MAC), which provides the Issuer with the ability to verify the integrity of a non-CEP transaction.

Notes:

Use of this command requires the optional ESP licence. Error code 67 will be returned if the command is not licensed.

 

Field

Length & Type

Details

COMMAND MESSAGE

Message Header

m A

Will be returned to the host unchanged

Command Code

2 A

Value “W6”

KIS5’

32 H

S5’ Issuer Key, encrypted under variant 4 of LMK pair 20-21

ALGKS

1 B

Algorithm code for S5’ transactions; must equal X’01

NTPSAM

4 B

PSAM transaction number

TIPDA

1 B

PDA transaction indicator

DTHRPDA

5 B

PDA transaction date and time

IDPSAM

4 B

Identifier of a PSAM

MPDA

4 B

PDA transaction amount

DEXPCARD

3 B

Card expiry date

AMCEP

1 B

CEP card authentication method

BALCEP

4 B

CEP card slot balance

RIDPSAM

5 B

Registered identity of the entity assigning PSAM Creator IDs

IDPSAMCREATOR

4 B

Identifier for the creator of a PSAM

NTPSAM

4 B

PSAM transaction number

S5’,DLT

8 B

Transaction MAC, to be validated

End Message Delimiter

1 C

  

Optional. Must be present if a message trailer is present. Value X'19

Message Trailer

n A

Optional. Maximum length 32 characters

 


 

Field

Length & Type

Details

RESPONSE MESSAGE

Message Header

m A

Will be returned to the host unchanged

Response Code

2 A

Value “W7”

Error Code

2 N

00 - No error

01 – S5’,DLT verification failure

70 – Invalid ALGKS

10 – KIS5’ parity error

12 - No keys loaded in user storage

13 - LMK error – report to Supervisor

15 - Error in input data

21 – Invalid user storage index

End Message Delimiter

1 C

  

Will only be present if present in the command message. Value X'19

Message Trailer

n A

  

Will only be present if in the command message. Maximum length 32 characters